home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / printing / hputils.arc / P_OR_SAV / P_ORSAVE.TXT < prev    next >
Text File  |  1990-04-01  |  19KB  |  370 lines

  1. Print oR SAVE --  an ALT/HELP vector stealer.....
  2.  
  3. These programs are Copyright 1989 Chet Walters
  4.  
  5. **** NO RIGHTS RESERVED ****
  6.  
  7. That's right!  Upload 'em anywhere.  Give 'em to anyone! However, just
  8. keep the text file that goes with them _WITH THEM_! (Hey, even us
  9. beleaguered ShareWare programmers are entitled to a little free
  10. advertising).
  11.  
  12. The WHY...
  13. I simply got tired of loading a separate program into memory then
  14. rebooting or running something that stole the ALT/HELP vector depending
  15. on what I wanted to do -- that is whether I wanted to SAVE the screen
  16. as a PI? pic or whether I wanted to dump the screen to the printer (I
  17. have an HP DeskJet).
  18.  
  19. The WHAT...
  20. So, I wrote and ALT/HELP vector stealer that did both!  Yup, depending
  21. on what keys you press, the Print oR SAVEr will either print the screen
  22. on the printer or save it to a disk.  There are two versions, one for
  23. HPDJ owners and one for regular printer owners.  Please read the
  24. instructions below carefully for the one you want to use.
  25.  
  26.  
  27. The HOW...
  28. SAVING PI? pics with Print oR SAVE
  29.  
  30. The following is common to both programs so I will detail it only once
  31. here since it applies to both. First, it's not necessary to hold the
  32. key presses for any length of time (with the exception of the EJECT for
  33. the DJ).  Just use a normal key press for the keys.  Whichever program
  34. you use, it should be run from the AUTO folder though you can run it
  35. from the desktop anytime and it will work OK.  Back up the program
  36. you're going to use.  Then copy it to the AUTO folder. The programs
  37. come defaulted to the root directory of drive A: for saving the PI?
  38. pics.  You can change that, however, by running the appropriate SET
  39. program.  Here's the ones to use: 
  40.  
  41. If you _DON'T_ have an HP then:
  42.    Use P_R_SAVE.PRG in the AUTO folder and set with P_R_SSET.PRG
  43.  
  44. If you _DO_ have an HPDJ or HPLaser then:
  45.    Use HP_RSAVE.PRG in the AUTO folder and set with HP_R_SET.PRG
  46.  
  47. Run the appropriate SET program. You will be first asked to locate the
  48. copy of the program to modify (normally the one you've copied into the
  49. AUTO folder).  If you don't select the right program, then the SET
  50. program will ask again and again until you get the right one or hit
  51. CANCEL on the FSEL.  Once you choose the right one, you will be asked
  52. to choose the path to which you wish your screen dumps saved as PI?
  53. pics and whether you want to modify the program to remember that path.
  54. Say YES and you're done.
  55.  
  56. With either program, pressing the RIGHT-SHIFT / ALT / HELP combination
  57. will save the currently visible screen to the path you have set as an
  58. appropriate Degas PI? picture file.  The program can save 26 screens
  59. consecutively starting with the name SCREEN_A.PI? and ending with the
  60. name SCREEN_Z.PI?.  It starts scanning with the 'A' and the first time
  61. it encounters an empty slot, that's the name it will use.  With this in
  62. mind, it's a good idea to often clean out the path of old pics since
  63. this will speed the process of searching for an empty slot and also
  64. will keep you from getting confused as to which pic is which.
  65.  
  66. Pic Saving Caveats...
  67. Now, one is not supposed to go poking around accessing the disk and
  68. saving screens while another program is running without first asking
  69. that program's permission.  That's what we're doing here. We're
  70. cheating.  Along down the road we're gonna crash the machine.  Someday,
  71. sometime the inevitable bombs will appear.  Don't say I didn't warn
  72. you. Eventually you'll come upon a situation where trying to save the
  73. screen will crash the machine.  Make sure before you go to save a
  74. screen, that you save any important work you might be in the process of
  75. creating.  THEN save the screen with the RT SHIFT/ALT/HELP keys.  Also
  76. make sure you don't press those keys when there is any disk or printer
  77. I/O going on at the time.  YOU HAVE BEEN WARNED!  BTW -  if a save is
  78. successful, you'll hear a bell chime.  If it's _NOT_ successful (disk
  79. full, no names left, whatever) then you'll hear _no_ bell chime (or see
  80. bombs maybe).  Too, if another program has moved the keyboard vector
  81. after we're installed, the SHIFT KEY may be ingnored by the system
  82. (then again maybe not).  If that happens, you won't be able to save the
  83. screen but the print dump should still work (then again, maybe not).
  84.  
  85. USING P_R_SAVE.PRG...
  86.  (if you have an HP DJ or LJ then skip this part)
  87.  
  88. When P_R_SAVE.PRG is installed, it will take up 630 bytes or so of your
  89. memory (cheap, huh?).  Any time you press the ALT/HELP keys, you'll not
  90. even notice that P_R_SAVE is there.  It will fall through to the
  91. system's PRINT SCREEN routine and that'll be that.  But, you happen to
  92. have a Rainbow printer and have a nice driver installed so that the
  93. ALT/HELP keys will dump the screen in color, right?  So, you're
  94. wondering what the heck you can do to use P_R_SAVE.  No sweat. Just
  95. make sure that P_R_SAVE.PRG runs AFTER the program that installs
  96. whatever custom driver you need for your printer.  P_R_SAVE will then
  97. fall through that custom driver.  Easy, huh?  Run P_R_SAVE after any
  98. programs that already steal the ALT/HELP keys and you won't know it's
  99. installed unless you press the RIGHT SHIFT / ALT / HELP key combo and
  100. then it'll save your screen.  Now, skip the next section and move on
  101. down to the advertising section (hey, all I ask for my trouble in
  102. writing this program and dox and taking the time to upload it and
  103. making it easy for you to use is that you read my ad.  Small price to
  104. pay... go ahead....)
  105.  
  106. USING HP_RSAVE.PRG
  107.  
  108. There are a few more things you DJ or LJ owners will encounter when
  109. configuring your HP_RSAVE.PRG.  You will be asked to set some other
  110. parameters.  You see, this ain't just a screen dump.  This is a real
  111. fancy screen dump (at only 1600 bytes of memory when installed, it
  112. ain't gonna be THAT awful fancy, but I think it's nice and you will
  113. too). 
  114.  
  115. LETTER or DRAFT mode (LEFT-SHIFT/ALT/HELP)
  116.  
  117. First of all, the program comes defaulted to DRAFT prints.  They turn
  118. out real good looking in draft and you'll hardly notice the difference
  119. in quality, but you'll REALLY notice the savings on your expensive ink
  120. carts.  You can change the default to one of three things.  If you
  121. choose PANEL, then it's up to you to set the quality with front panel
  122. switches on the printer (at least the DJ, dunno about the laser).  If
  123. you choose LETTER then that's the default.  If you choose DRAFT then
  124. DRAFT it'll be.  However, unless you have chosen PANEL you can change
  125. the default ON THE FLY for each individual screen dump!  If you've
  126. chosen LETTER and you hold the LEFT-SHIFT/ALT/HELP keys then for this
  127. dump only, you'll get a DRAFT screen dump (the front panel will switch
  128. to DRAFT after the dump and remain that way so punch it if you need
  129. LETTER for other things).  Just pressing ALT/HELP will still cause a
  130. LETTER print with HP_RSAVE next time, so remember, the LEFT SHIFT key
  131. will SHIFT your PRINTER into the opposite mode from the default for
  132. THIS DUMP ONLY but the printer remains in that mode for ANY OTHER
  133. program BUT HP_RSAVE.  The same applies to a DRAFT default.  The LEFT
  134. SHIFT key will toggle LETTER for this dump only.  If you have chosen
  135. PANEL as the default, then the LEFT SHIFT key is ignored.  Personally,
  136. I have it set for DRAFT and hold the LEFT SHIFT key only if I need a
  137. LETTER quality dump (boy do my carts last a long time and this also has
  138. the bonus of cutting about 40% off the time it takes to print).
  139.  
  140. TWO SIZES  (CONTROL/ALT/HELP)
  141.  
  142. HP_RSAVE can dump in two sizes as well.  The SMALL size is roughly 4
  143. 1/4 by 2 3/4 inches.  The LARGE size chimes in at 6 1/4 by just under 4
  144. inches.  Set the one you want as default (I like 'em small -- saves ink
  145. and time).  You can change the size ON THE FLY by pressing the
  146. CONTROL/ALT/HELP keys for a dump.  That will set the printer to the
  147. OPPOSITE of the default like above. If you have SMALL set then for THIS
  148. DUMP ONLY you'll get LARGE when you hold down the CONTROL key while you
  149. press ALT/HELP.  Small size dumps will fit three to a page and large
  150. will fit two.  That's why I included the following extra feature.
  151.  
  152. PAGE